package com.deke.teacher;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author ：张恒（1371745897@qq.com）
 * @date ：Created in 2022/12/7 12:12
 * @description：
 * @modified By：
 * @version:
 */
//springboot默认扫描主类所在的包以及子包
@SpringBootApplication(scanBasePackages = {"com.deke.teacher","com.deke.security","com.deke.config"})
@MapperScan( "com.deke.teacher.dao")
//@RibbonClient(value = "education-teacher")
//开启openfeign注解驱动
@EnableFeignClients
public class TeacherApp {
    public static void main(String[] args) {
        SpringApplication.run(TeacherApp.class,args);
    }
}